package com.sun.services;

import jakarta.persistence.criteria.CriteriaBuilder;
import jakarta.persistence.criteria.Predicate;
import jakarta.persistence.criteria.Root;

import java.util.List;

public interface CustomPredicate<T> {
    List<Predicate> whereWarpper(CriteriaBuilder criteriaBuilder, Root<T> root);
}
